import java.awt.GridLayout;
import javax.swing.JPanel;
@SuppressWarnings("serial")
public class SliderPanel extends JPanel
{
	private Demo win;
	private Node r,g,b;
	public SliderPanel(Node red,Node green,Node blue,Demo window)
	{
		r=red;
		g=green;
		b=blue;
		win=window;
		setLayout(new GridLayout(1,0));
		add(new SingleSlider(r,"R",win));
		add(new SingleSlider(g,"G",win));
		add(new SingleSlider(b,"B",win));
	}
}
